package com.logic.saas.pojo;
import java.io.Serializable;
import com.logic.saas.util.annotation.Column;
import com.logic.saas.util.annotation.Table;

@Table(name = "saas_module")
public class SaasModule extends BasePojo implements Serializable {
	private static final long serialVersionUID = -1949643038777333497L;
	
	@Column(name = "application_id",source="saasApplication.id")
	private SaasApplication saasApplication;
	@Column(name = "name")
	private String name;
	@Column(name = "description")
	private String description;
	@Column(name = "available_for_subscription")
	private boolean availableForSubscription;
	
	private ModulePrice modulePrice;

	public String getName() {
		return this.name;
	}
	
	public SaasApplication getSaasApplication() {
		return saasApplication;
	}

	public void setSaasApplication(SaasApplication saasApplication) {
		this.saasApplication = saasApplication;
	}

	public void setName(String value) {
		this.name = value;
	}
	
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public java.lang.Boolean getAvailableForSubscription() {
		return this.availableForSubscription;
	}
	
	public void setAvailableForSubscription(java.lang.Boolean value) {
		this.availableForSubscription = value;
	}

	public ModulePrice getModulePrice() {
		return modulePrice;
	}

	public void setModulePrice(ModulePrice modulePrice) {
		this.modulePrice = modulePrice;
	}

}

